package com.haoliang.spring.component.lifecycle.bean;

/**
 * @Author zhaohaoliang
 * @Date 创建于 下午5:39 2019/3/10
 * @Description 请输入类的描述信息
 */
public class LifecycleBean {
    public LifecycleBean() {
        System.out.println("life构造函数");
    }

    public void init(){
        System.out.println("life初始化方法");
    }

    public void destroy(){
        System.out.println("life销毁方法");
    }
}
